package com.zzyl.nursing.domain;

import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;

/**
 * 床位对象 bed
 *
 * @author ruoyi
 * @date 2025-10-17
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "床位实体" )
public class Bed extends BaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 床位ID
     */
    @Schema(title = "床位ID" )
    private Long id;

    /**
     * 床位编号
     */
    @Excel(name = "床位编号" )
    @Schema(title = "床位编号" )
    private String bedNumber;

    /**
     * 床位状态: 未入住0, 已入住1
     */
    @Excel(name = "床位状态: 未入住0, 已入住1 " )
    @Schema(title = "床位状态: 未入住0, 已入住1 " )
    private Integer bedStatus;

    /**
     * 床位号
     */
    @Excel(name = "床位号" )
    @Schema(title = "床位号" )
    private Integer sort;

    /**
     * 房间ID
     */
    @Excel(name = "房间ID" )
    @Schema(title = "房间ID" )
    private Long roomId;

}
